package com.un.ebs.production.domain;

import com.un.ebs.product.enums.ProductPurchaseTypeEnum;
import com.un.ebs.production.enums.ProductionSeqTypeEnum;
import com.un.ebs.production.enums.QualityCheckPlanTypeEnum;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (ProductionSeqItemExt)表实体类
 *
 * @author liubo
 * @since 2020-11-30 18:56:10
 */
@Data
@Component
@TableName("v_production_seq_item_ext")
@SuppressWarnings("serial")
public class ProductionSeqItemExt extends Model<ProductionSeqItemExt> {


    @DbField(name = "id", length = 40, precision = 0)
    private String id;

    @DbField(name = "seq_id", length = 40, precision = 0)
    private String seqId;

    @DbField(name = "code", length = 20, precision = 0)
    private String code;

    @DbField(name = "name", length = 100, precision = 0)
    private String name;

    @DbField(name = "role_id", length = 40, precision = 0)
    private String roleId;

    @DbField(name = "work_minute", length = -1, precision = 0)
    private Integer workMinute;

    @DbField(name = "remark", length = 1000, precision = 0)
    private String remark;

    @DbField(name = "purchase_type", length = -1, precision = 0)
    private ProductPurchaseTypeEnum purchaseType;

    @DbField(name = "check_plan_type", length = -1, precision = 0)
    private QualityCheckPlanTypeEnum checkPlanType;

    @DbField(name = "check_plan_qty", length = -1, precision = 0)
    private Integer checkPlanQty;

    @DbField(name = "seq_type", length = -1, precision = 0)
    private ProductionSeqTypeEnum seqType;

    @DbField(name = "role_name", length = 255, precision = 0)
    private String roleName;

    @DbField(name = "relation_sku_id", length = 40, precision = 0)
    private String relationSkuId;

    @DbField(name = "relation_user_qty", length = 18, precision = 4)
    private Double relationUserQty;

    @DbField(name = "sku_code", length = 100, precision = 0)
    private String skuCode;

    @DbField(name = "sku_name", length = 100, precision = 0)
    private String skuName;


}